//
//  CameraViewController.h
//  YunGui
//
//  Created by Hanen 3G 01 on 16/4/22.
//  Copyright © 2016年 hanen. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DBCameraManager.h"
#import "DBCameraDelegate.h"
@class DBCameraView;
typedef void(^backDataBlock)(NSData *data1, NSData *data2);

@interface CameraViewController : UIViewController<DBCameraManagerDelegate>

//
@property (nonatomic, assign) BOOL isShouldBack;//这个是要拍完照 返回
@property (nonatomic, weak) id <DBCameraViewControllerDelegate> delegate;
@property (nonatomic, assign) BOOL useCameraSeg;
@property (nonatomic, strong) backDataBlock backBlock;

@property (nonatomic, assign) int chooset;
//- (id) initWithDelegate:(id<DBCameraViewControllerDelegate>)delegate cameraView:(id)camera;
//- (id)init;
@property (nonatomic, strong) NSNumber *branchId;
@property (nonatomic, strong) NSNumber *checkId;
@property (nonatomic, strong) NSNumber * checkType;
@property (nonatomic, strong) NSNumber * detailID;
@property (nonatomic, assign) int uploadNum;
@property (nonatomic, assign) BOOL isPush;//这个区分 push 和模态切换

@property (nonatomic, assign) BOOL  isHaveRuleBtn;
//@property (nonatomic, assign) BOOL isAddRecordCamera;
@end
